//
//  NearAcButton.m
//  Shengzhuli
//
//  Created by FXGuo on 2017/8/9.
//  Copyright © 2017年 kamangkeji. All rights reserved.
//

#import "NearAcButton.h"

@implementation NearAcButton

- (void)layoutSubviews
{
    [super layoutSubviews];
    self.imageView.frame = CGRectMake((self.width-25)/2.0, 5, 25, 25);
    self.titleLabel.textAlignment = NSTextAlignmentCenter;
    self.titleLabel.x = 0;
    self.titleLabel.width = self.width;
    self.titleLabel.y = self.height-self.titleLabel.height-5;
}

@end
